	<!-- Column full -->
	<div class="column full">
	

	</div>
	<!-- Colum Full -->
	
	<div class="column full fl">
		
			<div class="box themed_box">

	<h2 class="box-header"><?php echo $title; ?></h2>
	<div class="box-content">
    <?php echo $this->session->flashdata('message');?>
	<table class="display" id="tabledata">
	<thead>
		<tr>
			<th><?php echo $this->lang->line('no');?></th>
            <th><?php echo $this->lang->line('active');?></th>
			<th><?php echo $this->lang->line('user_name');?></th>
			<th><?php echo $this->lang->line('user_call');?></th>
            <th><?php echo $this->lang->line('gender');?></th>
            <th><?php echo $this->lang->line('tlp');?></th>
			<th><?php echo $this->lang->line('user_group');?></th>
			<th><?php echo $this->lang->line('user_pos');?></th>
            <th><?php echo $this->lang->line('sales');?></th>
            <?php if($this->session->userdata('user_group')== $this->config->item('admin')):?>
			<th>Action</th>
			<?php endif;?>
		</tr>
	</thead>
	<tbody>
	<?php foreach($table['users'] as $rec): ?>
		<tr class="gradeX">

			<td><?php echo $rec['user_no'] ?></td>
            <td>
            <?php if($rec['enabled']==1): ?>
            <span class="bullet bullet-green"></span>
            <?php else: ?>
            <span class="bullet bullet-red"></span>
            <?php endif;?>
            </td>
			<td><?php echo $rec['name'] ?></td>
			<td><?php echo $rec['username'] ?></td>
            <td><?php echo $rec['gender'] ?></td>
            <td><?php echo $rec['tlp'] ?></td>
			<td class="center"><?php echo $rec['group_name'] ?></td>
			<td class="center"><?php echo $rec['pos_name'] ?></td>
            <td>
            <?php if($rec['sales']==1): ?>
            <span class="bullet bullet-green"></span>
            <?php else: ?>
            <span class="bullet bullet-red"></span>
            <?php endif;?>
            </td>
            <?php if($this->session->userdata('user_group')== $this->config->item('admin')):?>
			<td class="tc">
                <a class="button white" href="<?php echo site_url($this->config->item('view_user').$rec['username']); ?>"><span class="icon_single video"></span></a>
                <a class="button white" href="<?php echo site_url($this->config->item('delete_user').$rec['user_no']); ?>"><span class="icon_single cancel"></span></a>
				<a class="button white" href="<?php echo site_url($this->config->item('edit_user').$rec['user_no']); ?>"><span class="icon_single edit"></span></a>
            </td>
			<?php endif;?>
		</tr>
	<?php endforeach;?>	
	</tbody>
	</table>
	<div class="clear"></div>
	</div>
	</div>
	
	</div>
	
	<!-- half 
	<div class="column onehalf fr">
	
		<div class="box themed_box">
			<h2 class="box-header-new"></h2>

			<h2 class="box-header">	box table - gallery</h2>
			<div class="box-content box-table">
			dsdfs
			</div>
		</div>
	
	<div class="clear"></div>
	</div>
    -->	